package com.banmoon.visitor.element;

import com.banmoon.visitor.visitor.Operation;

/**
 * 现场观众
 */
public class Spectator extends Person{

    public Spectator(String name) {
        super(name);
    }

    @Override
    public void accept(Operation operation) {
        operation.operation(this);
    }
}
